//
//  KDAccount.h
//  警用舆情平台
//
//  Created by 魏强 on 15/5/12.
//  Copyright (c) 2015年 魏强. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface KDAccount : NSObject<NSCoding>
/***  手机的token */
@property (nonatomic, copy) NSString *token;
/***  是否手机登录 */
@property (nonatomic) BOOL u_LoginByPhone;
/***  是否被手机通知 */
@property (nonatomic) BOOL u_NotifyByPhone;
/***  省 */
@property (nonatomic, assign) NSInteger u_Province;
/***  市／地区 */
@property (nonatomic, assign) NSInteger u_Region;
/***  用户 */
@property (nonatomic, copy) NSString * user;
/***  用户类型 */
@property (nonatomic, assign) NSInteger user_Type;
/***  用户ID */
@property (nonatomic, assign) NSInteger userId;
/***  用户名 */
@property (nonatomic, copy) NSString * userName;
/**  密码 */
@property (nonatomic, copy) NSString * password;

/***  郭斌的token */
@property (nonatomic, copy) NSString * tokens;
/***  短信发送权限的字段 1有权限，0没有权限
 */
@property (nonatomic, assign) NSInteger isMessage;

@property (nonatomic, assign) NSInteger  version;

@property (nonatomic, copy) NSString * proxyData;

/******************************** 用户个人信息 ********************************/

/**  eg：科盾_南山大队 */
@property (nonatomic, copy) NSString * deptName;
/**  <#Description#> */
@property (nonatomic, assign) NSInteger userStatus;
/**  城市id */
@property (nonatomic, assign) NSInteger cityId;
/**  城市名 */
@property (nonatomic, copy) NSString * cityName;

/**  <#Description#> */
@property (nonatomic, assign) NSInteger notifySms;

/**  id */
@property (nonatomic, copy) NSString * userCode;
/**   */
@property (nonatomic, copy) NSString * positionName;
/**  登录名 */
@property (nonatomic, copy) NSString * loginName;
/**  <#Description#> */
@property (nonatomic, assign) NSInteger notifyMobile;
/**  区名 */
@property (nonatomic, copy) NSString * countyName;
/**  <#Description#> */
@property (nonatomic, assign) NSInteger deptId;
/**  <#Description#> */
@property (nonatomic, assign) NSInteger isProxy;

/**  <#Description#> */
@property (nonatomic, strong) NSArray *roleList;
/**  <#Description#> */
@property (nonatomic, assign) NSInteger createDt;
/**  <#Description#> */
@property (nonatomic, assign) NSInteger provinceId;
/**  <#Description#> */
@property (nonatomic, copy) NSString * userImage;

/**  <#Description#> */
@property (nonatomic, assign) NSInteger periodDate;

/**   */
@property (nonatomic, copy) NSString * isOfficial;
/** id */
@property (nonatomic, copy) NSString * computerId;
/**  用户名 */
@property (nonatomic, copy) NSString * provinceName;
/**  电话号码 */
@property (nonatomic, copy) NSString * phone;

/**  cookie */
@property (nonatomic, copy) NSString * cookie;

/**  远程通知的deviceToken */
@property (nonatomic, copy) NSString * deviceToken;
/**  <#Description#> */
@property (nonatomic, assign) NSInteger userType;
/**  <#Description#> */
@property (nonatomic, assign) NSInteger regionId;
/**  <#Description#> */
@property (nonatomic, assign) NSInteger companyId;

/**  <#Description#> */
@property (nonatomic, assign) NSInteger inspectLogin;

/**  <#Description#> */
@property (nonatomic, assign) NSInteger countyId;

/**  vpn的gid */
@property (nonatomic, assign) NSInteger gid;


/********************************  mqtt相关 ********************************/
/**  <#Description#> */
@property (nonatomic, copy) NSString * grand_comp_id;
/**  <#Description#> */
@property (nonatomic, copy) NSString * subs_id;
/**  <#Description#> */
@property (nonatomic, copy) NSString * subs_comp_id;



@end
